- 
		Home
	
 
	- 
WooCommerce PayPal Payments
 
- 
2.8.0
 
- 
Code
 
- 
Classes
 
-  CartProductsHelper 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											38 | 
										
																			
											| Dependencies | 
											4 | 
										
																			
											| Dependents | 
											4 | 
										
																	
							 
													
								
																			
											| Total lines | 
											267 | 
										
																			
											| Lines of code | 
											131 | 
										
																			
											| Logical lines of code | 
											63 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											88 | 
										
																			
											| Methods | 
											10 | 
										
																			
											| Properties | 
											3 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 10
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| add_products() | 
									A  | 
																	48 | 
													11 | 
													33 | 
							
					
				| products_from_data() | 
									S  | 
																	59 | 
													5 | 
													16 | 
							
					
				| add_variable_product() | 
									S  | 
																	55 | 
													4 | 
													20 | 
							
					
				| product_from_data() | 
									S  | 
																	58 | 
													4 | 
													16 | 
							
					
				| add_booking_product() | 
									S  | 
																	57 | 
													4 | 
													16 | 
							
					
				| remove_cart_items() | 
									S  | 
																	64 | 
													4 | 
													11 | 
							
					
				| add_product() | 
									S  | 
																	64 | 
													3 | 
													10 | 
							
					
				| __construct() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| set_cart() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| cart_item_keys() | 
									S  | 
																	82 | 
													1 | 
													3 |